.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}
body{
    background: #eeeeee;
    .header{
        .px2rem(height, 90);
        width:100%;
        background: #000;
        color: #c6c6c7;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        left:0;
        top:0;
        z-index: 109;
        .left,.right{
            .px2rem(width, 150);
            .px2rem(line-height, 90);
            .px2rem(font-size, 28);
            text-align: center;
        }
        .center{
            .px2rem(width, 220);
            .px2rem(line-height, 90);
            .px2rem(font-size, 34);
            text-align: center;
        }
    }
    .banner{
        .px2rem(margin-top, 90);
        img{
            width:100%;
        }
    }
    .nav{
        .px2rem(height, 90);
        background: #ffffff;
        ul{
            display: flex;
            justify-content: space-between;
            align-items: center;
            li{
                width: 25%;
                text-align: center;
                .px2rem(line-height, 90);
            }
            .on{
                color: orangered;
            }
        }
    }
    .slide{
        .px2rem(margin-top, 20);
        .px2rem(margin-bottom, 90);
        width: 100%;
        background: #ffffff;
        dl{
            width: 50%;
            float: left;
            border-bottom: 1px solid #ccc;
            border-right: 1px solid #ccc;
            box-sizing: border-box;
            .px2rem(height, 540);
            text-align: center;
            dt{
                .px2rem(width, 240);
                .px2rem(height, 240);
                margin:20px auto;
                img{
                    width: 100%;
                }
            }
            .dd1{
                .px2rem(height, 80);
                .px2rem(font-size, 26);
                .px2rem(line-height, 40);
                .px2rem(margin-left, 10);
                .px2rem(margin-right, 10);
                .px2rem(margin-top, 20);
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
                word-break: break-all;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
            .dd2{
                .px2rem(height, 40);
                .px2rem(font-size, 24);
                .px2rem(margin-left, 10);
                .px2rem(margin-right, 10);
                .px2rem(margin-top, 20);
                color: #999;
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
                word-break: break-all;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }
            .dd3{
                color: red;
                .px2rem(line-height, 40);
                .px2rem(font-size, 30);
            }
            .dd4{
                color: #999;
                .px2rem(line-height, 40);
                .px2rem(font-size, 22);
            }
        }
        .geng{
            clear: both;
            .px2rem(height, 90);
            .px2rem(line-height, 90);
            width: 100%;
            text-align: center;
            background: #eeeeee;
            color:#999;
        }
    }
    .slide1, .slide2{
        display: none;
    }
    .slide4{
        display: none;
        clear: both;
        width: 100%;
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 1000;
        .box{
            .px2rem(height, 650);
            background: #ffffff;
            position: fixed;
            bottom: 0;
            right: 0;
            left: 0;
            overflow: auto;
            .jin{
                border-bottom: 1px solid #ccc;
                p{
                    .px2rem(line-height, 70);
                    .px2rem(padding-left, 20);
                }
                ul{
                    .px2rem(padding-left, 20);
                    .px2rem(padding-right, 20);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-wrap: wrap;
                    li{
                        width: 30%;
                        text-align: center;
                        .px2rem(line-height, 70);
                        .px2rem(margin-bottom, 20);
                        border: 1px solid #cccccc;
                    } 
                    .on{
                        border: 1px solid orangered;
                    }
                    .li{
                        display: none;
                    }
                }
                ul li:last-child{
                    border: none;
                }
            }
        }
        .box .jin:last-child{
            .px2rem(margin-bottom, 90);
        }
        .div{
            .px2rem(height, 90);
            position: absolute;
            left:0;
            right:0;
            bottom:0;
            div{
                .px2rem(line-height, 90);
                width: 50%;
                float: left;
                text-align: center;
            }
            .chong{
                color: orangered;
                background: #eeeeee;
            }
            .que{
                color: #ffffff;
                background: orangered;
            }
        }
    }
    .footer{
        width:100%;
        .px2rem(height, 90);
        background: #ffffff;
        display: flex;
        align-items: center;
        position: fixed;
        left:0;
        bottom: 0;
        z-index: 99;
        dl{
            width:25%;
            text-align: center;
            color: #999;
            dt{
                .px2rem(margin-bottom, 10);
                .px2rem(font-size, 40);
            }
        }
        .on{
            color: orangered;
        }
    }
}